<jsp:useBean id="korisnik"
	type="rs.ac.uns.ftn.informatika.mbs2.e11031.etaksi.entitet.Korisnik"
	scope="session" />
<jsp:useBean id="voznja"
	type="rs.ac.uns.ftn.informatika.mbs2.e11031.etaksi.entitet.Voznja"
	scope="session" />

<html>
<head>
<title><fmt:message key="prikazZapoceteVoznje" /></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="refresh"
	content="6; url=/${initParam.nazivAplikacije}/PrikazZapoceteVoznjeKontroler?voznjaId=${voznja.id}" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link href="/${initParam.nazivAplikacije}/css/tema.css" rel="stylesheet"
	type="text/css" />
</head>
<body>
	<c:choose>
		<c:when test="${voznja.vozac == null}">
			<h2>
				<fmt:message key="obradjujemZahtev" />
				... <img class="gif"
					src="/${initParam.nazivAplikacije}/slicice/cekanje.gif" />
			</h2>
		</c:when>
		<c:otherwise>
			<table class="glavna">
				<tr>
					<td><fmt:message key="marka" />:</td>
					<td>${voznja.vozilo.marka}</td>
				</tr>
				<tr>
					<td><fmt:message key="tip" />:</td>
					<td>${voznja.vozilo.tip}</td>
				</tr>
				<tr>
					<td><fmt:message key="bojaKaroserije" />:</td>
					<td>${voznja.vozilo.boja}</td>
				</tr>
				<tr>
					<td><fmt:message key="oznaka" />:</td>
					<td>${voznja.vozilo.oznaka}</td>
				</tr>
			</table>
		</c:otherwise>
	</c:choose>
</body>
</html>